package com.xt.base.model.base;

import java.util.Date;

import com.xt.base.dao.hibernate.code.IAutoCreateCode;
import com.xt.base.model.system.User;
import com.xt.base.pojo.BasePOJO;

/**
 * 地址 <br>
 * 
 * <p>
 * <a href="LoginLog.java.html"><i>查看源文件</i></a>
 * </p>
 * 
 * @author 杨洪波
 * @version $Revision: $<br>
 *          $Id: $
 * @hibernate.class table="LoginLog" batch-size="200" dynamic-update="true"
 *                  dynamic-insert="true"
 *
 */
public class LoginLog extends BasePOJO implements IAutoCreateCode {
	private static final long serialVersionUID = 1820041776547409201L;

	private User user;
	private Date loginDate;
	
	/**
	 * @hibernate.many-to-one column="User_ID"
	 */
	public User getUser() {
		return user;
	}
	public void setUser(User user) {
		this.user = user;
	}
	
	/**
	 * @hibernate.property column="LoginDate" 
	 * @return
	 */
	public Date getLoginDate() {
		return loginDate;
	}
	public void setLoginDate(Date loginDate) {
		this.loginDate = loginDate;
	}
}
